home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
Tools
/
bpatch
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-05-03
|
716b
|
33 lines
DESTDIR=/usr/skunk
# This may have to change on your system.
# You may have to fiddle with various combinations of curses, termcap,
# terminfo, etc. Good luck!
#LIBS = -lcurses -ltermcap
#LIBS = -ltermlib
#LIBS = -lterminfo
LIBS = -lcurses
# However you need getopt.
#GETOPT = -lgetopt
# If you're running on a 4.[23] system, you probably want this.
#WORK = -DMOD_HAX
CFLAGS = -O $(WORK)
all: bpatch
bpatch: bpatch.o
$(CC) -o bpatch $(CFLAGS) bpatch.o $(GETOPT) $(LIBS)
install: bpatch inst-man
-mkdir -p $(DESTDIR)/bin
scoinst -s bpatch $(DESTDIR)/bin/bpatch
inst-man:
-mkdir -p $(DESTDIR)/usr/skunk/man/man.1
scoinst -c -m 444 bpatch.1 $(DESTDIR)/usr/skunk/man/man.1
clobber:
rm -f bpatch bpatch.o